projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12314e4
)
gnomeos-make-image.sh: Check for some dependencies before we run
author
Colin Walters
<walters@verbum.org>
Wed, 26 Oct 2011 18:59:45 +0000
(14:59 -0400)
committer
Colin Walters
<walters@verbum.org>
Wed, 26 Oct 2011 18:59:45 +0000
(14:59 -0400)
parallel-debian/gnomeos-make-image.sh
patch
|
blob
|
history
diff --git
a/parallel-debian/gnomeos-make-image.sh
b/parallel-debian/gnomeos-make-image.sh
index 1fc37ab283742b9574ba1bc88bb3b8c0e81285f8..84fe38e42db7c336e0fef1dab690c97930ff2fa1 100755
(executable)
--- a/
parallel-debian/gnomeos-make-image.sh
+++ b/
parallel-debian/gnomeos-make-image.sh
@@
-24,6
+24,15
@@
set -x
SRCDIR=`dirname $0`
WORKDIR=`pwd`
+DEPENDS="debootstrap qemu-img"
+
+for x in $DEPENDS; do
+ if ! command -v $x; then
+ echo "Couldn't find required dependency $x";
+ exit 1
+ fi
+done
+
OSTREE=${OSTREE:-ostree}
case `uname -p` in